export default {
    BAD_REQUEST: 400,
    SERVER_INTERNAL_ERROR: 500,
    
    SUCCESS: 20000,
    /* user */
    INCORRECT_USERNAME_OR_PASSWORD: 50001,
    PASSWORD_NOT_SATISFIED: 50002,
    INVALID_TOKEN: 50003,
    USERNAME_EXISTS: 50004,
    CHANGE_PASSWORD_FAILED: 50005,
    LOGOUT_FAILED: 50006,
    /* store */
    STORE_EXISTS: 50007,
    CREATE_STORE_FAILED: 50008,
    CHANGE_USER_TYPE_FAILED: 50009,
    QUERY_ALL_STORES_FAILED: 50010,
    NO_SUCH_STORE: 50011,
    /* product */
    QUERY_PRODUCT_FAILED: 50020,
    ADD_PRODUCT_FAILED: 50021,
    UPDATE_PRODUCT_FAILED: 50022,
    DELETE_PRODUCT_FAILED: 50023,

    CATEGORY_NOT_EXISTS: 50024,
    PRODUCT_DUPLICATE: 50025,
    NO_SUCH_PRODUCT: 50026,
    /* category */
    
    /* goods */
    EMPTY_SEARCH_RESULT: 50060,
    NO_SUCH_GOODS: 50061,
    /* order */
    EMPTY_ORDER: 50071
} as const